package com.hsf.cloudeurekaserver2.beans;

import org.springframework.context.annotation.Configuration;

@Configuration
public class DataSourceConfig{
    /*private static String jdbcUrl = "jdbc:oracle:thin:@localhost:1521:ORCL";

    private String driverClassName = "oracle.jdbc.driver.OracleDriver";

    private String username = "SYSTEM";

    private String password = "HSFhsf2019";

    @Bean
    public HikariDataSource hikariDataSource(){
        Properties properties = new Properties();
        properties.setProperty("driverClassName",driverClassName);
        properties.setProperty("jdbcUrl",jdbcUrl);
        properties.setProperty("username",username);
        properties.setProperty("password",password);
        HikariConfig hikariConfig = new HikariConfig(properties);
        return new HikariDataSource(hikariConfig);
    }*/


}
